
package nccloud.bs.hrjx.bill.aggbusi.ace.bp;
import nc.vo.hrjx.jxxsdata.AggJxXsDataVO;
import nc.impl.pubapp.pattern.data.bill.BillUpdate;
import nc.vo.pub.VOStatus;

/**
 * 标准单据弃审的BP
 */
public class AceJxXsDataVOUnApproveBP {

        public AggJxXsDataVO[] unApprove(AggJxXsDataVO[] clientBills,
                        AggJxXsDataVO[] originBills) {
                for (AggJxXsDataVO clientBill : clientBills) {
                        clientBill.getParentVO().setStatus(VOStatus.UPDATED);
                }
                BillUpdate<AggJxXsDataVO> update = new BillUpdate<AggJxXsDataVO>();
                AggJxXsDataVO[] returnVos = update.update(clientBills, originBills);
                return returnVos;
        }
}
